package cate.common.table.activity.tbboss;

import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import easy.java.dev.note.NoteClass;

@NoteClass("血量奖励")
public class TBBossHpRwdRow extends ERow {

    public double hpRate;

    public String rwdStr;

    public String killRwdStr;

    public int group;

    @Override
    public void parse(XSSFRowWrap xrw) {
        super.parse(xrw);
        this.id = xrw.getInteger("奖励ID", 0);
        this.hpRate = xrw.getDouble("剩余血量百分比", 0d)/100d;
        this.rwdStr = xrw.getString("基础奖励");
        this.killRwdStr = xrw.getString("冠军击杀奖励");
        this.group = xrw.getInteger("分组ID",0);

    }
}
